// ============================================================================
//
// Graph framework by Aurelien Moreau aurelien.moreau@gmail.com
// Modified by Pierre CHATEL chatelp@gmail.com
// Distributed under LGPL
// Copyright (C) Aurelien Moreau, 2008, 2009. All rights reserved
//
// ============================================================================

package com.thalesgroup.graphFramework.collections;

public class TooMuchElementException extends RuntimeException {

	private static final long serialVersionUID = 8353940723152506383L;

	private static final String MSG_1 = "Too much element in ";

	private static final String MSG_2 = " with ";

	private static final String MSG_3 = " on ";

	public TooMuchElementException(final int max, final int current,
			final Object o) {
		super(MSG_1 + o + MSG_2 + current + MSG_3 + max);
	}

}
